package com.tender.dtos;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class BillCompositeShipDTO {

    @Schema(description = "提单号")
    private String billNo;

    @Schema(description = "船信息列表")
    private List<ShipSimpleInfoDTO> ShipSimpleInfoDTOList;

    @Data
    public static class ShipSimpleInfoDTO {

        @Schema(description = "船航次id")
        private String shipVisitId;

        @Schema(description = "船名")
        private String shipName;

        @Schema(description = "船code")
        private String shipCode;
    }

}
